updating star movement and solved negative size problem