complete patch for #4279 ctrl +up/down + ff issue

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