Changed the resonant levels overlay to consitst of upper and lower bounds. Created a settimeout that houses the variables and call to the drawframe method.