Handling generic images and making nav functional