added listener on focus for amount fields
 paging for pie chart