Merge pull request #50 from texasag/master

First go at pagination
prevent the paging if at beginning or end of paginated pages