Make mobile viewport work