Introduced note directive and made the element draggable
merged with latest master