Add a bottom affixed element to affix visual tests.
Refactor determining affix state into a separate expanded method
  in order to handle multiple edge cases, specifically when the document
  height is dynamic.
Always reposition an affix that is affixed to the bottom.