bug fix when navigating without pictures displayed