changed hide and show nav function to be the same as on lightbox