added togglable sidebar code
updated version