complete patch for #4279 ctrl + up/down

Signed-off-by: Aayush Anand <aayushism12@gmail.com>