refactor(slideBox): make it so elements are properly removed