Added an option to show the top of the list instead of the bottom.