percentage calculator, need to fix layout