update slide panel functionality