Click to hide not giving a clean result

@danfleming so there is the answer, a hidden element it is still hoverable, when you hover the show button, it is moving of the green container, that is why it is flicking. You should check for the state change, like, if the button was clicked, the hover should be disabled.