fix tab width issue on Android

I removed the tabWidth workaround with %ages. It now works on Android with the deviceWidth, just need to calculate the density-independent width.