Positioning mode and pan gesture delegate

Hi, we've made some additions to side menu component. Maybe you will consider these changes are useful for the main repository.