Refactoring code for lightbox on main-landing page.<Jaideep/Soumya>