Fix viewport properties for mobile