Mapping Mouse4 to Swipe Right does not do anything

Hi everyone,

I'm currently trying to map Mouse 4 on my mouse to Swipe right. I try to click Mouse 4 but nothing happens, what am I doing wrong?

Note: its a Razer mouse, not a Magic Mouse