added while loop to setUpPanel to ensure proper item spacing in recipe list