I was flying along and suddenly my view got skewed about 30 degrees to the right and locked in that position. I could not get my forward view centered on the cockpit, it would only go further to the right. Trying to change my view would always stop about 30 degrees from straight forward. Also, while this was happening, I could not close on a destination, it would always stay about 1k to 1.2k away no matter how direct a course I took. The only way I was able to correct it was to land and exit…