prevent page transitions from jumping around