fixing boolean toggle and removing unnecessary foundation.min lib