modified to slide on scope variable

Removed toggle directive, and modified slideable directive to link to a variable in the scope, on which the sliding  is activated