Touch screen gesture detector