Bug fix for Windows webkit browsers

Fixes issue with toggling scroll bars resizing the window