minor file deletion
added first and last buttons