making mobile version of view passable