help bird screaming upside down

by was
(bolton uk)

himy african grey keeps going to the top cage upside down and holds his wing in his foot and screams? why does he do that and i get worried but then i go to see whats happend he keeps screaming but then he lets go after abit? is he playing or is he hurt? other than that he still whistles and is normal please help