Started added screen resize handler code