added option to use percent values in translate() method as well.