enableGravity property added