Added slider and added event validations