Reinstated touch-end event for inputs.
Added click event to set focus on inputs.