Hooked up next prev buttons to UI