Added swipe recognition

And animations for the menu items, removed a lot of obsolete code.