truncate code at 10 lines in top x page