extract show logic
remove old show/hide function
fix inline effects