fixed Safari z-index bug + notebook close animation