adding a div to thumbnail