fixed animation issues and unintentional hiding