nearly working slider locking and sumto100 functionality