Add a few additional checks to checkPosition in Affix

I was using the affix component and I found that my component was uncontrollably flickering once I had scrolled past the affix's `offsetBottom` value. 

I looked at Bootstrap's JS for the affix plugin and found that there were a few additional checks that weren't present in this Affix component. Including them in `checkPosition` fixed the flickering problem for me.