fixing accordion bug and smoothing out animation