started refactoring drmLightbox