Fixing reveal/hide recipe slider bug