Don't encode the dir parameter for the switch button on 8.1 (cherry picked from commit db0b120)
Don't encode the dir parameter for the switch button on 8.1
(cherry picked from commit db0b120)

tahaalibra/gallery,setnes/galleryplus,owncloud/gallery,setnes/gallery,desaintmartin/gallery,interfasys/galleryplus,interfasys/galleryplus,tahaalibra/gallery,setnes/galleryplus,setnes/gallery,owncloud/gallery,setnes/gallery,interfasys/galleryplus,desaintmartin/gallery,IATkachenko/gallery,viraj96/gallery,IATkachenko/gallery,owncloud/gallery,owncloud/galleryplus,desaintmartin/gallery,imjalpreet/gallery,setnes/galleryplus,owncloud/galleryplus,owncloud/galleryplus,viraj96/gallery,imjalpreet/gallery,viraj96/gallery,IATkachenko/gallery,tahaalibra/gallery,imjalpreet/gallery