now deals with touchscreen/mouse issue