added AJAX on the tumbnails