added clean up of views, window resize bug fixed