added next/prev pages button and fixed chrome/firefox difference in placing images into div