copy of firefox slider to make it more independent.