switched touchend and click test