fix basefontsize var for mobile