adding transition for story page