On screen refresh. Keep current pos
On screen refresh. Keep current pos
remove unuse var
fix off by one error
fix off by one error