fixing right wall panning