Fix a great number of bugs. Still plenty of things to fix

- Implement custom ViewPager
- Add comments
- Tablets are now using ViewPager as well
- other things I forgot