finish mobile functionality