better hiding/showing sidebar animation