docs(slideBox): update documentation for refactor
fix(slideBox): use javascript to size the slidebox to scroll size