refine side window mapping