Fixed bug whereby first page in swipe wasn't being pushed to history