added center algin to photo view.