fixed some rendering issues with mobile browsers