Fixes #10: Clicking tabs no longer has issues.
Fixed a bug where the top bar got pushed off the screen when trying to slide the pageviewcontroller past the last index.
A few redundant lines removed.