Show loading when click to view next page