Make left and right arrows to work like end and home buttons