fixed bug with non-contiguous/erroneous 'position' values after indention/dedention
fixed variable name error
dedenting a note on frontend takes parent's children with it. closes #16. change note focus by element id