added clear before next/prev buttons