Added a mouseout even for the home butto

And removed a useless boolean variable that was used