callback after animation completed
added PageTransitions.gotoPage(block, [int, selector])