Add move line up/down function