grouping undos while cmd-dragging
support for multiple page pdf with different page sizes