Updated event handlers using jquery for click/touch