start lightbox functionality