added the code for showing/hiding next previous buttons
added the functionality to disable certain slides using checkboxes