Implemented sidebar resize javascript.