To scroll a file horizontally, turn the mouse wheel while keeping Shift pressed.