various fixes for tablets and smartphones