Steam fans were treated to a rare sight as classic steam train thundered over Whalley viaduct on its way through the area.