move lines in ItemsController#index