maximize UI after events