Index winds up ahead following a volatile ride