fixed location awareness of sidebar
renamed directives-alt to directives, because it is actually the main one