add event delegation in order to improve performance for mobile devices