Hide icon after transition, not working