panels with swipe, fixed errors and bugs