Complete slide-out button functionality for multiple blocks