Graphics lab, non-working touch-handling code added