Improvement for horizontal scrolling with both mouse wheel directions