added background gradient and slider position