added ruler origin check
paragraphs get moved instead of copying content. That means all the formatting stays instact