NAV Position Absolute of parent

I have a NAV bar with buttons on it. Each button is inside a container class. The container has position relative and as well as the button I have a box DIV which has 0 opacity until clicked. Once click it has opacity and position absolute.

The issue I have is my position absolute flows over and off the right of my screen giving me a overflow-x scrollbar or white space. How can I force is to flow left of the parent not outwards to the right?
Was this page helpful?