improve binding of 'scroll' and 'resize' handlers

ensure that 'scroll' and 'resize' handlers are in all cases bound at
most once, and that they are always unbound when Tip is removed

fixes #38
fixes #25
Merge pull request #43 from component/fix-unbinds

improve binding of 'scroll' and 'resize' handlers