added swipe on main view