Few changes to how map is panned