A simple custom JavaScript slider