fixed sidebar placement bug