make horizontal scaling more smoothly variable