Removed BodyContents and added page transition callback