fixes to slide.and.push
created directive for slide menu