Add basic functions

Swipe & two panels