fix scale on mobile device and colapse on ios