button next and prev function in graphic is usablw