basis.layout: make function more robust and universal (works for window viewport)
basis.dragdrop: work correctly for position:fixed elements