Tweaked the paginated content to empty contents right before loading new content