made next and prev buttons hidden when disabled