made ios viewport work