hide slide button when it has no content

This will fix #17 with PHP