added a delegate
slider now works straight
adding missed out files