Started integrating window.dimensions