integrated pagination code and deleted flexslider related files