adds mobile optimizations