updated addswitchestoscrollviewadapter