solved a small bug in vertical movement on main page