fix case when there is no need to horizontal scolling but bar showing