Fixed issue where sidebar is not properly centred when content is missing