fixed bug with platform detection, inelegantly added fix for view animations.

TODO: Integrate this change with the decouple module!