Update and customize animation duration for ios7.