Multiscreen menu help

I've been following the video on game salad cookbook on how to do a multiscreen menu and so far its working pretty well. I have a few question, How can I make it so if you don't drag the first screen completely over to the other side it would sling back? Also Whenever I let go of the screen it also goes to the level the mouse is on. How do I that?
Thanks,
Daniel
Thanks,
Daniel
Comments
Then make an invisible actor called snapto.x that is 480x320 and place it over each are that you want to be a screen.
In that actor
When overlap or collide with cam (that would be the actor in the middle of the screen controlling the camera if you have named it differently)
--Change game.snapto.x to self.position.x
Then in the cam actor
When mousebutton is up
--interpolate self.position.x to game.snapto.x
Thanks