Added overflow to parent div. And extended inside div to be wide enough to have all thumbnails on a single row.