added mobile functionality to master branch