Turn slider into component + make autosliding optional