device view change by miyagi