got touch event working properly for register page