Added rotation to part viewer

NOTE: Not implemented in bitmap generation. Scale and offset are.