Got constraints working for all devices