Handle moving markdown editor up and down