Trying to make collapse less laggy on mobile