adding in mobile optimizations