Putting .slide-out beneath .account-sidebar would solve this problem. Another way to fix this is change the css from
.slide-out
.account-sidebar
.slide-out { animation: slideOut 0.3s forwards; }
to
.sidebar-overlay .slide-out { animation: slideOut 0.3s forwards; }