At the start of the film, the USS Holly is shown spinning uncontrollably in space, but on board the ship the crew and all the loose objects are completely unaffected by the centrifugal force.
The USS Holly is shown spinning in space but when the USS Presley docks with her, the Holly is now stable but how this was achieved is not explained.