updating css pointer for images