Remove all but the first analogRead in loop and put your map immediatley after this first analogRead, the value will be used throughout loop.
When you exit loop and reenter, you will read the analog input again (analogRead) and then map the value to the range you want to use throughout the rest of loop.
Does that help ?
Duane B