fixed sidebar animation issues