add and remove class on lightbox content