Overriding collapsed sidebar in mobile optimization