add hiding/showing sidebar animation