Add home/end key support