added paragraph cursor mapping