add sprite dimensions variable