fix sidebar issue on single view pages