[ticket/10383] Make the content transitions smoother.

PHPBB3-10383