Added swipe tabs

There's a compile-time error with the Adapter class in Eclipse, and I'm
still working on fixing it, but theoretically this should work.
Cleaned up some comments