Hide blocks when script text visible