What's the best way to properly slope a track?

I have a track that slopes up to a bridge, then slopes back down. It's being held up by slabs of cardboard. What am I SUPPOSED to use? (The cardboard sags and causes derailments.)