added togglable sidebar code