fix sidebar overlay issue