updated thumbnail order and added overflow: auto to modal