Added show/hide function