Activate last element when page/container bottom is reached  

Reopened pull request #78 from another branch.