provided smoother transitions between pages