sliding menu: add % support for maxSlideDistance