To keep the drum kit from skidding, you can try tying down the legs of the drum kit to the legs of your chair/sofa with some rope.
As for your legs and hips hurting, that's obvious discomfort pain from tensing up muscles while impatiently waiting for a drum kick to scroll by. You need to learn not to tense them and play comfortably. Takes some getting used to.










