You're probably not landing with your skis flat. If your ski is up on edge, it catches a lot easier. Think about landing with equal weight on both skis. You want them about shoulder width apart because if you go much wider, it is harder to keep them both flat. Also, make sure you get completely sideways on the rail. The last thing I would say is maybe take a bit more speed into the rail. It will help you slide more smoothly.