change behavior of sidebar when switchtching views, hidebar will always be shown unless its turned off in the options..except in gridview