renaming swiping activity to mainactivity