fix single image galleries should not display nav