fixing scrollbar loading issues