Fixed a bug with first item not appearing on page load