Migrated TransitionsDemo to unified API

- Cast double to float
- Cast nfloat to float
- Change float variable to nfloat
- Changed NavigationController.PopViewControllerAnimated to
.PopViewController
- Changed overridden property type from float to nfloat
- Removed cast of negative value to nfloat