added page transitions for switching editing modes