Is your problem you sliding off the pad or the pad sliding around on the floor of the tent?

For the former I would suggest bungee cords around the bag. For the later people usually recommend silicone glue. (Don't glue the pad to the floor). I think the recommendation is to puts silicone dots on your pad and stripes on the tent floor. Let the thoroughly dry and you should be good to go.