change  background w.r.t. location