Moved form-hide animation to .listcontainer.contract class. And transform position back to 0 to retain position
Updated 'list-container' toggleClass to apply an 'expand' or 'contract' class