Implements lightbox navigation