fix Photo resize,fix navigation