Added transitions between pages