Added responsive design on window resize.