Responsive dynamic gallery