these changes fixed ios7 nav bar problems for me