switch to view pager in main activity