add focus event and mouse event