bootstrap gallery with dynamic data