added touchend event for smoother action on tablets/mobile