Bootstrap 3.1
Remove unused dependencies from UI/Popup
Fixing affix logic for when the element being measured is near the top of the screen