finished panel loading logic