Repositioning of content after window positioning (closes #5)

* Page based view and measure based view repoisiton content after
automatic positioning of windows
* minor bug fixes