Adding automatically calculations of scroll button margins on client
side of monthTable