display correct buttons on photo page if navigate away and back after adding a photo
set display to inline-block rather than inline as set by .show() so buttons display correctly