Handle taps on the viewer