flex moved to top