[events] keyhover events moved to function