language button selected + optimized automatic sidebar toggle