mobile optimization

also a few style changes