Added dynamic speed calculation according to rendering speed of browser