fix for scroll bars showing when not needed.