add animation to hide and show form add spinner speed setting optional