fix issues with fold open closing and tab s-tab not working