Added last card visible listener