Refactor method pop-up animation

- Extract lots of helper functions so it's clearer what's going on
- Remove dead code, including some unnecessary setTimeouts and
  browser-specific hacks
- clark dances with joy.  literally.
Works when offsetParent has auto height