fixed issue where screen goes blank when you click on something twice
added show hide to code samples