Fix center with sidebar and add open/close sidebar option