Prevent user dragging screen with event listener