Fix duplication of side windows
Add a test case for side windows
Merge pull request #117 from papaeye/fix-side-window

Fix duplication of side windows