final version of toggle/expand effect