Check for scrollbar before compensating for it

Checks if the scrollbar is there before adjusting the CSS for it, avoids visual issues such as http://i.imgur.com/CTx29qY.png