new feature on window resize [not finished]