Sufficient sleep is one of the recommendations for overall good health. Yet, a sliding mattress is an annoying thing that can interrupt good sleep an intimate session.
There are simple solutions such as using Velcro strips, non-slip mattress pads, ...