tried to fix vertical scrolling with javascript but didn't succeed