a simple way to make an HTML slider