create pseudo element border for carousel