Use the correct value for position property when scrolling up.