fixing x-icon positioning issue