Hide the sidebar if it is enabled for the page in record view. there might be little to no point in having the sidebar in a record view, this gives you the option to "hide" it for databases.
you can see it in action if you go here:
CJ Menu - CodingJungle
and then click on any of the records, the sidebar will be gone in record view.
Likes: Filipe Reis