add possibility to hide old active element during animation