changed main page and nav scrolling