fixing weird scroll bug making page start not at the top