Adding handling to move nested block elements outside of parent para or simpara element