Added functionality to seek bar