Redo page transitions

The tray now only expands for the duration of the transition and sliding to the right
should now be easy to add.

As an unexpected bonus, there is now a weird expanding effect to the transition,
not sure why.