Implement custom slider