Wirelessly posted (htc Pocket PC: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 8.12; MSIEMobile6.0) Sprint T7380)
It sounds like the mechanism is a little loose but you could tighten it up a little by cutting a couple strips of clear packing tape and applying them to the top of the keyboard on both sides of the keyboard. It might create just enough drag to keep the keyboard from sliding out.