added next and prev buttons in segment gui