move lines to the top