added wasGroundedLastFrame to collision flags
fix for moving up sloped one way platforms