Changing images to cookies and changing spacing