fixes and additions: for onclick animations