moved borrow and edit buttons to the top