wrapping nil if no links / sidebar