Canvas-based slider