fixed bug when to pan left or right and changed the offset of rear view