Making mobile styles work