Drawbridge! Yes, a mod that adds a block with whom you can make bridges that extent and shrink on your command.