add middle click support and horizontal scroll with pad

Signed-off-by: Deleterios <deleterios@gmail.com>