When using scrollspy in conjunction with adding or removing of elements from the DOM, you need to call the refresh method