Remove assumption, that the offsetParent and it's position value does not change.
Some cleanup

closes #7