trying to make a widget that changes its child on hover