changed sidebar to dynamic, adjusted css