Fixed the nav bar random disappearing and added light box