refactor(inkbar): use scale & percentage calculations for more robust transition