added google analytics as well as some fancy pagination