tried to apply thumbnail classes to different div for gallery