When a logging railroad or tram road is abandoned, the right-of-way shall revert to the owners of the lands over which it crosses.