window resize fix, working on axis