popPagesTillSpecifiedPage() needs not to take the "mAnimating" state into account, because this method is normally invoked programmatically.
added PageManager.popPagesTillSpecifiedClass()