Added gradients when the locations list is too long