Fixing active classes on non infinite