BUG 889164 updating slider whenever controls shown

Hi Dale,

I have made changes as per David's suggestions and tested it.
Please review the patch.