Added method to do icon positioning.