Fix events height on switching tab