Hide scrollbar if not necessary