hide scrollbar when not necessary