delay resize if invisible; add options api function