Adding the collapse state for ff img