Fix Home/End navigation (#174)

Fixed #174 

![nani-82782](https://f.cloud.github.com/assets/872004/2189056/67abc3f0-9810-11e3-8fe2-15c708096258.gif)