Updating Transform example with slider + code clean up.