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