Added touch and mouse events to the Popcorn Kernel