Fix for slide_out animation

Should handle problem reported in issue #91