optimized the seekbar