Arrow keys to start slide if you are touching a wall. You will then lside until you touch another wall. Make it to the portal before the time runs out to complete a level.
I have made some major modifications, now SM has sound, unlimited time, personal bests, level select, and faster movement. Enjoy.