Overhaul template, add swipe to menu