`$.mobile.activePage` is deprecated you should retrieve this from pagecontainer widget