Making z-Index in animations smarter. Removed the option to customize it.