Fixed 1px scroll jump issue on sidebar show and hide animation