Add transition between pages