Fixed problem with transitions in pages component