Employee was diagnosing an issue with the swing operation of the manlift basket while in the basket. The employee leaned over the control panel while moving the basket causing the employee to strike head on the mine roof & the controls of the manlift. The employee was seen in the ER & given stitches for a laceration to the chin. The employee was released to light duty the same day.