sidebar detection and configuration for horizontal callouts