fixing missing cases, modifying rainbow function to only draw and not scroll