The swing bridge will close for up to two years as refurbishment work takes place