title: Making a div to move up and down on clicking it
body: <p>I have the following code</p>
  
  <pre><code>&lt;h1&gt;Heading&lt;/h1&gt;
  &lt;div&gt;Content to be displayed&lt;/div&gt;
  </code></pre>
  
  <p>Now on clicking h1 the whole and  should move upwards and again  on clicking h1 both should come down.How can i achieve this.I used jquery toggle function to move div up and down but I also want h1 to move upwards.</p>