Change top padding depending on the window's size.