Modifies presentation show/hide to store state in cookie