Magnetization reorientation in HoCo2