function checkScrollEnd() {
            if (
                dropdownMenu.scrollTop() + dropdownMenu.innerHeight() >=
                dropdownMenu[0].scrollHeight
            ) {
                $rootScope.$broadcast(
                    'lx-dropdown__scroll-end',
                    $element.attr('id')
                );
            }
        }
Check if user has scrolled to the end of the dropdown.