My danios stayed at the top of the tank when i first tranfered them but then they got used to the filter that had alot faster flow than they were used to. It is completely normal for them to do that. They swim at medium level to top level. Maybe try to increase the flow or something.