added lightbox add/remove functionlaity