add non-commited files and improve window resize