fix loading state not scrolling