avoid zero-duration animation for show() and hide() (#63)