added show and hide specs and implementation. all specs passing