made the layout responsive to window size