Wigan reach Mossop agreement