You might use jquery slider and on the slider you can manage the opacity for the tile layer because I don't think slider functionality is present for the tilemap layer.There is little twist in this you might add all five layer at the first and on slider you can adjust opacity but this might make map little slow or in second scenario on slider you can update layer url and update layer but this will make layer to refresh again.
Thanks
Manojraj