Integrate mq into viewport method detect.