adding basic lightbox functionality