FIx bug of scroll bar
fix small bug, scroll bar shows when needed