Add buffer time so click count and animation stay in sync.

added set time out and moved changing of width of slider to
right after new images added.

Fixes #17