fix scroll bar not showing on initialization