added slide animation for next/prev buttons