Fixing open/close in accordion