Fix page transitions, implement sliding to the right

Fixed (?) the weird transition effect by waiting 30 ms between expanding
the tray and starting the animation.