Apply a css transition to thumbnails dimensions update