merging code by hand
scroll and loading chart spinner