Hide preview scrollbar when not needed