something like this between the foam and the flooring -- i use something like this for my hard DDR mat to keep it from slipping and it helps
https://www.amazon.com/Grip-Non-Slip-Surface-Floors-10-Feet/dp/B003TDQQIA
Maybe something like this http://www.amazon.com/gp/aw/d/B003TDQQIA