fixed spacing, and make it possible to change screen resolution