If the last element has a small height, it isn't selected at the bottom. Expected result: if container was scrolled to the bottom, the last element has "active" class. 