where does the mary river start and finish