adding strech mode in device context