Added alternative volume control funciton for slider control