Fix to the page control transitions