Fixing the fullscreen to sidebar redirection code to use the existing double dispatch mitigation code

To QA:
On sandbox visit the following urls and they should redirect to their sidebar equivalents:
<url>/fullscreen
<url>/fullscreen/precise/ceph-18/
<url>/sidebar/search/?text=wordpress
<url>/fullscreen/search/precise/ceph-18/?text=wordpress