title: How to check if the element is near the bottom of the screen?
body: <p>How is the way to check if some the element is near the bottom of the screen let say 100px from the bottom? (not the bottom of page).</p>
  
  <p>The thing is i wanted that when this element is clicked, an another element will shown up and will slide to top rather to down if is near the bottom of the screen?</p>