changed photo serving to rotate to match orientation