Bug fix and resize rect

Rewrote part of the script not to scroll when automated scrolling.
Timeline rect are now proportional to the length of the mail.