What about this?

http://www.mouser.com/ProductDetail/...wt%2fDHv7Kc%3d

I think this part has a metal rolling ball inside that is used to detect tilt. Also, look for vibration and tilt sensors at mouser.com.