adding slider and spedometer