Add touch events and input border