js based transition implementation
transition and swipe nav for side panel