made height of visual dynamic based on number of nodes