Add js resizing for sidebar