fix tab jumpiness