While tramming crawler bolter, operator's left thumb became pinched between the bolter and the mine roof, when the machine teetered over a high spot in the mine floor causing the back of the machine to pivot up against roof. A laceration occurred requiring 4 stiches.