Jquery Prev a href won't disable

Please help identify why 'prev' button won't disable

by carter steinhoff

HTML

<div class="reviewcontainer">
<h2 id="clinicreviews" class="local" style="text-align:center;">Customer Reviews</h2> 
</div>
<div class="reviewcontainer2">
<a class="prev" style="display:none;">&#10094;</a><a class="next" >&#10095;</a>
</div>
<div class="areaall">
<div class="review">
<div style="margin-bottom:20px;" itemscope itemtype="http://schema.org/Review"> <div itemprop="itemReviewed" itemref="_name1" itemscope itemtype="http://schema.org/MedicalClinic"></div> <div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"> <meta itemprop="worstRating" content="1"/><span itemprop="ratingValue">5</span>/<span itemprop="bestRating">5</span> stars </div>
<div><b>"<span itemprop="name">Keep Coming Back</span>"</b>
     <span itemprop="reviewBody">"This is my third time to Passport Health to get advice and immunizations for traveling aboard. Convenient service, knowledgeable staff, little to no waiting, and will to take the time to answer questions."</span> <div style="margin-top:5px;"><div style="display:inline-block;" itemprop="author" itemscope itemtype="http://schema.org/Person">Submitted by: <span itemprop="name">Gale</span></div></div></div></div></div>

<div class="review">
<div style="margin-bottom:20px;" itemscope itemtype="http://schema.org/Review"> <div itemprop="itemReviewed" itemref="_name1" itemscope itemtype="http://schema.org/MedicalClinic"></div> <div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"> <meta itemprop="worstRating" content="1"/><span itemprop="ratingValue">5</span>/<span itemprop="bestRating">5</span> stars </div>
<div><b>"<span itemprop="name">Fantastic service</span>"</b>
     <span itemprop="reviewBody">"Our RN, Karin Church, was very knowledgeable about how best to prepare for our trip. Her recommendations were sound and personal to our health needs."</span> <div style="margin-top:5px;"><div style="display:inline-block;" itemprop="author" itemscope itemtype="http://schema.org/Person">Submitted...

CSS

.areaall  {

width: 90%;
 right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
}
.prev, .next {
  cursor: pointer;
  color: #31b2ed;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
text-decoration:none;
margin-top:3px;
}

.prev {
Padding-right:10px;
}

.next {
padding-left:10px;
}
.reviewcontainer { 
  width: 100%;     
  right: 0;
  left: 0;
  margin-right: auto;
  margin-left: auto;
      
}

.reviewcontainer2 { 
  width: 100%;     
  right: 0;
  left: 0;
  margin-right: auto;
  margin-left: auto;
   text-align:center;  
}
.prev:hover, .next:hover  {
  background-color: rgba(0,0,0,0.8);
}

JavaScript

var rvwList = $(".areaall .review").hide();
rvwList.slice(0, 1).show();
var size_li = rvwList.length;
var x = 1;
start = 0;
function showHide(){
if ( $(".areaall").children().last().index() == $(".areaall .review:visible").last().index())
  {
    $('.next').hide();
  }
  else if ($(".areaall").children().first().index() == $(".areaall .review:visible").first().index()) {
    $('.prev').css("color","grey");
    $('.prev').attr("disabled",true);
  }
}
$('.next').click(function() {
  $('.prev').show();
  $('.prev').css("color","#31b2ed");
  $('.prev').attr("disabled",false);
    rvwList.slice(start, start + x).hide();
    start += x;
    rvwList.slice(start, start + x).show();
    showHide();
    console.log('size_li is:' + size_li);
    console.log('start is:' + start);
    console.log('start is:' + end);  
});
$('.prev').click(function() {
    $('.next').show();
    rvwList.slice(start, start + x).hide();
    start -= x;
    rvwList.slice(start, start + x).show();
    showHide();
});