working on dynamic views base of window.innerWidth