making transitions between pages better