Add slider according assignment 2 Extra Task 1