question: public int lastViewablePageIndex ( ) { return getSwipeToDismiss ( ) ? Math . abs ( lastPageIndex ( ) - 1 ) : lastPageIndex ( ) ; }
target:  Get the index of the last viewable page, dependent on if the layout is RTL