refactor flyout event to not trigger when hovering over LI element and remove resizeLi