Updates slider pseudo element