Don't prevent horizontal scroll event if horizontal scrolling is not
enabled