added functionality to lightbox settings