fixed legend position bug

legend's table can inherit table width, and that gets a problem since
other elements get their width from it
Timezone correcting function

Added Timezone correcting function
Merge pull request #6 from SergioCrisostomo/fixes

Fixes