Make move up/move down paragraphs more intelligent