You need to roll the air out as much as you can, once you have rolled it up with the valves open close them off and unroll it.
Once unrolled, roll it back up a second time but with the valves closed until you have pushed the remainder of the air towards the valves.
Open the valves and continue rolling until the last bit of air is out and then do the valves back up. Job done.