Sounds like "flashing." Is it a slam or more of a scrape against type of thing? From what I've read, and I've seen my ZD's and Serpae tetra do it as well, it usually is something irritating the skin of the fish, i.e. a parasite. I wouldn't worry about it unless it does it a lot or starts to show other symptoms. FYI, mine don't do it anymore(that I know of). Best of luck to you and your fishies!