added spinner for pagination scrolling