removed window resize handler and made steped position