Improve layout logic in handling drags and declaring oversize pages
Add some more dup style rules