Add a function for swipeview to return it's current page