replaced touchstart with onClick to test on desktop