rough window snapping